package com.sfeir.poc.portal.gui.client.widgets;

/**
 * Simple widget that build a div including a slideshare
 */
public class SlideshareWidget extends SimpleHTMLWidget {

	public SlideshareWidget(String url) {
		super(url);
	}

	protected String getHtml(String url) {
		return "<div style=\"width:100%;text-align:left\" id=\"__ss_308972\"><object style=\"margin:0px\" width=\"400\" height=\"355\"><param name=\"movie\" value=\"" + url + "\"/><param name=\"allowFullScreen\" value=\"true\"/><param name=\"allowScriptAccess\" value=\"always\"/><embed src=\"" + url + "\" type=\"application/x-shockwave-flash\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"100%\" height=\"355\"></embed></object></div>";
	}
}
